#ifndef BIRD_H
#define BIRD_H
#include <QMainWindow>
#include<qpainter.h>
#include <QMainWindow>
#include <stdio.h>


QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    void paintEvent(QPaintEvent* event);//绘图函数声明
    void Init();//初始化函数声明
    QPainter painter;//画笔

private:
    Ui::MainWindow *ui;
};
#endif // BIRD_H
